package com.servicio.view;

import javax.swing.JFrame;

import com.servicio.panel.PanelPagina1;
import com.servicio.panel.PanelPrincipal;

@SuppressWarnings("serial")
public class ViewMain extends JFrame{

  public ViewMain() {  
    
    this.setTitle("Sistema");
    this.add(new PanelPrincipal(new PanelPagina1()));
    this.setVisible(true);
    this.setExtendedState(JFrame.MAXIMIZED_BOTH);
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      
  }

}
